package com.woniuxy.yogaapp.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*
 * 好友表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Friends {
	private Integer me ;  //自己、uid外键
	private Integer friend;//好友、uid外键
	private String fname;
	private String fimage;
	private Integer unread; //未读
    private Integer roles;

	public Friends(Integer me, Integer friend, String fname, String fimage) {
		this.me = me;
		this.friend = friend;
		this.fname = fname;
		this.fimage = fimage;
	}

    public Friends(Integer me, Integer friend, String fname, String fimage,Integer roles) {
        this.me = me;
        this.friend = friend;
        this.fname = fname;
        this.fimage = fimage;
        this.roles = roles;
    }
}
